<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        div {
            width: 400px;
            height: 400px;
            background-color: pink;
            /*标签水平居中*/
            margin: 0 auto;
        }
    </style>
</head>
<body>
<div></div>
</body>
</html>